package com.atguigu.ggkt.user;

import com.atguigu.ggkt.swagger.SwaggerTool;
import com.atguigu.ggkt.utils.HostIPTool;
import com.atguigu.ggkt.utils.LogTool;
import com.atguigu.ggkt.utils.SpringTool;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.atguigu.ggkt.user.mapper")
@ComponentScan(basePackages = "com.atguigu")
public class ServiceUserApplication {

    public static void main(String[] args) {

        SpringApplication.run(ServiceUserApplication.class,args);
        SwaggerTool.print();
        LogTool.printDatabaseInf(ServiceUserApplication.class);
    }

}
